package com.mdd.front.service;


import com.mdd.front.vo.order.OrderGoodsDetailVo;

/**
 * 订单商品接口
 */
public interface IOrderGoodsService {


    /**
     * 订单商品详情
     *
     * @author mjf
     * @param id Integer
     * @return OrderGoodsDetailVo
     */
    OrderGoodsDetailVo detail(Integer id);


    /**
     * 修改商品数量
     * @param orderId 订单id
     * @param sum 订单数量
     */
    int editNum(Integer orderId,Integer sum);
}
